clear vlan dhcp-address-allocation

clear vlan vlan_name dhcp-address-allocation [[all {offered | assigned | declined | expired}] | ipaddress]

Description

Removes addresses from the DHCP allocation table.

Syntax Description

vlan_name Specifies the VLAN of the DHCP server.
all Specifies all IP addresses, or all IP addresses in a particular state.
offered Specifies IP addresses offered to clients.
assigned Specifies IP addresses offered to and accepted by clients.
declined Specifies IP addresses declined by clients.
expired Specifies IP addresses whose lease has expired and not renewed by the DHCP server.
ipaddress Specifies a particular IP address.

Default

N/A.

Usage Guidelines

You can delete either a single entry, using the IP address, or all entries. If you use the all option, you can additionally delete entries in a specific state.

Example

The following command removes all the declined IP addresses by hosts on the VLAN temporary:

clear vlan temporary dhcp-address-allocation all declined

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on all Universal switches supported in this document.